ThemeisleSDK\Modules\Notification A

Total Complexity 56
Dependencies 0
Dependents 0
Total lines 439
Lines of code 289
Logical lines of code 127
Comment lines 94
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
show_notification()
A
49 8 35
is_notification_expired()
A
52 8 25
get_notification_html()
S
45 5 46
get_random_notification()
S
54 6 23
dismiss()
S
56 5 16
get_notification_details()
S
61 5 12
load()
S
53 4 24
can_load()
S
62 4 12
render_snippets()
S
52 1 52
setup_notifications()
S
58 3 16
get_last_notification()
S
74 2 4
get_last_active_notification_timestamp()
S
74 2 4
get_notifications_metadata()
S
65 1 10
set_last_active_notification_timestamp()
S
72 1 5
set_active_notification()
S
72 1 5